<?php

/**
 * 获取卖家ID
 */
function Yifang_GetSellerId(){
    $user_type=session()->get("user_type","");
    $seller_id=0;
    if($user_type=="seller"){
        $seller_id=session()->get("user_id","0");
    }
    return $seller_id;
}